import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { LoginComponent } from './login/login.component';
import { ForgetPasswordComponent } from './forget-password/forget-password.component';
import { RegisterComponent } from './register/register.component';
import { UserspaceComponent } from './userspace/userspace.component';
import { ProfileComponent } from './profile/profile.component';
import { RegistersocialuserComponent } from './registersocialuser/registersocialuser.component';
const route: Routes = [
  {
    path: 'login', component: LoginComponent
  },
  {
    path: 'forgetpassword', component: ForgetPasswordComponent
  },
  {
    path: 'register', component: RegisterComponent
  },
  {
    path: 'userspace', component: UserspaceComponent
  },
  {
    path: 'profile', component: ProfileComponent
  },
  {
    path: 'signup', component: RegistersocialuserComponent
  }
];
@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(route)
  ],
  exports: [
    RouterModule
  ],
  declarations: []
})
export class UserRoutingModule { }
